package com.automapper.criterion;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class PropertyExpression implements Criterion {
	
	private String propertyName;
	private Object otherPropertyName;
	private String op;
	public PropertyExpression(String propertyName, Object otherPropertyName, String op) {
		this.propertyName = propertyName;
		this.otherPropertyName = otherPropertyName;
		this.op = op;
	}

	@Override
	public String toSqlString() {
		return propertyName + " " + op + " " + otherPropertyName;
	}
	
	@Override
	public String getParameterAliases() {
		return null;
	}

	@Override
	public Object getValue() {
		return null;
	}

	@Override
	public Map<String, Object> getValues() {
		return new HashMap<String, Object>();
	}

	@Override
	public List<String> getAliase() {
		return null;
	}

}
